<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix='sec' uri='http://www.springframework.org/security/tags'%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript" src="scripts/boot.js"></script>
</head>
<body style="border: 0px; margin: 0px; padding: 0px;width: 100%;height: 100%">
<div id="datagrid1" class="mini-datagrid" idField="id" showPager="false" url="orders_logs_list.do" style="width:100%;height:98%;">
	<div property="columns">
		<div field="name" width="100" headerAlign="center" align="center">姓名</div>
		<div field="userName" width="100" headerAlign="center" align="center">登录名</div>
		<div field="content" width="320" headerAlign="center" align="center">操作内容</div>
		<div field="createTime" width="140" dateFormat="yyyy-MM-dd HH:mm:ss" headerAlign="center" align="center" allowSort="true">操作时间</div>
	</div>
</div>
<div style="text-align:center;padding-bottom:10px;">
	<a class="mini-button" onclick="onCancel" style="width:60px;">关闭</a>
</div>
<script type="text/javascript">
mini.parse();
var grid = mini.get("datagrid1");
function SetData(data){
    data = mini.clone(data);
	grid.load({serialNum: data.serialNum});
}

function onCancel(e) {
    CloseWindow("cancel");
}

function CloseWindow(action) {
    if (window.CloseOwnerWindow) return window.CloseOwnerWindow(action);
    else window.close();            
}
</script>
</body>
</html>